Skip to content

feat(notify): show Codex model identity - #533

Merged
solomonneas merged 4 commits into
mainfrom
fire/model-aware-notifications-20260725
Jul 26, 2026
Merged

feat(notify): show Codex model identity#533
solomonneas merged 4 commits into
mainfrom
fire/model-aware-notifications-20260725

Conversation

@solomonneas

Copy link
Copy Markdown
Collaborator

Summary

  • Carry optional model metadata through canonical notifications.
  • Resolve the exact Codex model from the notify payload or matching local turn_context.
  • Render OpenAI · <model> in Discord, Telegram, and Signal while preserving severity indicators and fallback delivery.

Verification

  • go test -race ./...
  • go vet ./...
  • ./scripts/verify

Review notes

  • Cross-checked thread-id and turn-id against the official Codex notification contract and a current local rollout schema.
  • Rollout lookup is synchronous, best effort, and bounded by regular-file and record-size checks. Any lookup failure leaves the model empty and keeps the previous notification title.

solomonneas and others added 4 commits July 25, 2026 19:55
Add a Model field to canonical.Message and populate it in
CodexNotifyFromBytes from model/model-name/model_name event keys
so downstream channels can render the agent model that produced a turn.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-Authored-By: Cursor <cursoragent@cursor.com>
Co-Authored-By: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • coderabbit-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: escoffier-labs/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 46217b5d-50cd-46bf-8f79-c31de56bfe8c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fire/model-aware-notifications-20260725

Comment @coderabbitai help to get the list of available commands.

@solomonneas solomonneas self-assigned this Jul 26, 2026
@solomonneas
solomonneas merged commit b88a5d2 into main Jul 26, 2026
28 checks passed
@solomonneas
solomonneas deleted the fire/model-aware-notifications-20260725 branch July 26, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant